package deyi.utils;

import lombok.Data;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("hibernateutil")
@Data
public class HibernateUtil {
    @Autowired
    private  SessionFactory sessionFactory;
}
